﻿#region Using Directives

using System;
using System.Windows.Forms;
using System.Reflection;

#endregion Using Directives


namespace Edinger.Forms
{
    internal sealed partial class AboutForm : Form
    {
        #region Constructors

        public AboutForm()
        {
            InitializeComponent();

            Text = Application.ProductName;
            productLabel.Text = Application.ProductName;
            versionLabel.Text = "Version " + Application.ProductVersion;

            AssemblyCopyrightAttribute aca = (AssemblyCopyrightAttribute)GetType().Assembly.GetCustomAttributes(typeof(AssemblyCopyrightAttribute), false)[0];
            copyrightLabel.Text = aca.Copyright;

            AssemblyTrademarkAttribute ata = (AssemblyTrademarkAttribute)GetType().Assembly.GetCustomAttributes(typeof(AssemblyTrademarkAttribute), false)[0];
            trademarkLabel.Text = ata.Trademark;
        }

        #endregion Constructors
    }
}
